import request from '@/utils/request'

// 健康度
export function healthLevel(query) {
    return request({
        url: '/ywmkapp/healthLevel',
        method: 'get',
        params: query
    })
}
// 远程控制
export function remoteControl(query) {
    return request({
        url: '/ywmkapp/remoteControl',
        method: 'get',
        params: query
    })
}
// 远程启动接口
export function startYwmkapp(query) {
    return request({
        url: '/ywmkapp/start',
        method: 'get',
        params: query
    })
}
// 远程关闭接口
export function stopYwmkapp(query) {
    return request({
        url: '/ywmkapp/stop',
        method: 'get',
        params: query
    })
}
// table标签页显示与否
export function tabItems(query) {
    return request({
        url: '/ywmkapp/tabItems',
        method: 'get',
        params: query
    })
}
// table标签列表数据
export function tabItemsData(query1,query2) {
    return request({
        url: `/ywmkapp/tabItemsData?current=${query2.current}&size=${query2.size}`,
        method: 'post',
        data: query1
    })
}
